<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IRremoteESP8266: IRElectraAc Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IRremoteESP8266
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classIRElectraAc-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">IRElectraAc Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Class for handling detailed Electra A/C messages.  
 <a href="classIRElectraAc.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ir__Electra_8h_source.html">ir_Electra.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for IRElectraAc:</div>
<div class="dyncontent">
<div class="center"><img src="classIRElectraAc__coll__graph.png" border="0" usemap="#IRElectraAc_coll__map" alt="Collaboration graph"/></div>
<map name="IRElectraAc_coll__map" id="IRElectraAc_coll__map">
<area shape="rect" title="Class for handling detailed Electra A/C messages." alt="" coords="5,95,101,121"/>
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="20,5,87,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2f56ad22943c3d261b1d2ef88d86e300"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a2f56ad22943c3d261b1d2ef88d86e300">IRElectraAc</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
<tr class="memdesc:a2f56ad22943c3d261b1d2ef88d86e300"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor.  <a href="classIRElectraAc.html#a2f56ad22943c3d261b1d2ef88d86e300">More...</a><br /></td></tr>
<tr class="separator:a2f56ad22943c3d261b1d2ef88d86e300"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8035c14158fcf3758f46f6976b814f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#ab8035c14158fcf3758f46f6976b814f7">stateReset</a> (void)</td></tr>
<tr class="memdesc:ab8035c14158fcf3758f46f6976b814f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the internal state to a fixed known good state.  <a href="classIRElectraAc.html#ab8035c14158fcf3758f46f6976b814f7">More...</a><br /></td></tr>
<tr class="separator:ab8035c14158fcf3758f46f6976b814f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30170a65de1161e26daeddf694f8afdb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a30170a65de1161e26daeddf694f8afdb">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#a2ca237d578ca9a59aecac9813ab851ba">kElectraAcMinRepeat</a>)</td></tr>
<tr class="memdesc:a30170a65de1161e26daeddf694f8afdb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send the current internal state as an IR message.  <a href="classIRElectraAc.html#a30170a65de1161e26daeddf694f8afdb">More...</a><br /></td></tr>
<tr class="separator:a30170a65de1161e26daeddf694f8afdb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af333e90117ab035ff92389d4eefb3649"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#af333e90117ab035ff92389d4eefb3649">calibrate</a> (void)</td></tr>
<tr class="memdesc:af333e90117ab035ff92389d4eefb3649"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform.  <a href="classIRElectraAc.html#af333e90117ab035ff92389d4eefb3649">More...</a><br /></td></tr>
<tr class="separator:af333e90117ab035ff92389d4eefb3649"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afff519ff9e81ec4aa03ff337f8efef13"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#afff519ff9e81ec4aa03ff337f8efef13">begin</a> (void)</td></tr>
<tr class="memdesc:afff519ff9e81ec4aa03ff337f8efef13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up hardware to be able to send a message.  <a href="classIRElectraAc.html#afff519ff9e81ec4aa03ff337f8efef13">More...</a><br /></td></tr>
<tr class="separator:afff519ff9e81ec4aa03ff337f8efef13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99e29f982435b01c726d0234a433cfa6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a99e29f982435b01c726d0234a433cfa6">on</a> (void)</td></tr>
<tr class="memdesc:a99e29f982435b01c726d0234a433cfa6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting to On.  <a href="classIRElectraAc.html#a99e29f982435b01c726d0234a433cfa6">More...</a><br /></td></tr>
<tr class="separator:a99e29f982435b01c726d0234a433cfa6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe3a9b789eafbef19d015cdebf71dc0d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#afe3a9b789eafbef19d015cdebf71dc0d">off</a> (void)</td></tr>
<tr class="memdesc:afe3a9b789eafbef19d015cdebf71dc0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting to Off.  <a href="classIRElectraAc.html#afe3a9b789eafbef19d015cdebf71dc0d">More...</a><br /></td></tr>
<tr class="separator:afe3a9b789eafbef19d015cdebf71dc0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd04ffe9a77a97d4fafbcecd3a7949a4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#abd04ffe9a77a97d4fafbcecd3a7949a4">setPower</a> (const bool <a class="el" href="classIRElectraAc.html#a99e29f982435b01c726d0234a433cfa6">on</a>)</td></tr>
<tr class="memdesc:abd04ffe9a77a97d4fafbcecd3a7949a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the power setting.  <a href="classIRElectraAc.html#abd04ffe9a77a97d4fafbcecd3a7949a4">More...</a><br /></td></tr>
<tr class="separator:abd04ffe9a77a97d4fafbcecd3a7949a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed11407cd8be470baf5d4667e28e1273"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#aed11407cd8be470baf5d4667e28e1273">getPower</a> (void)</td></tr>
<tr class="memdesc:aed11407cd8be470baf5d4667e28e1273"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value of the current power setting.  <a href="classIRElectraAc.html#aed11407cd8be470baf5d4667e28e1273">More...</a><br /></td></tr>
<tr class="separator:aed11407cd8be470baf5d4667e28e1273"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a911b7410fd2f29464c1505e183c04c5d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a911b7410fd2f29464c1505e183c04c5d">setMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a911b7410fd2f29464c1505e183c04c5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the operating mode of the A/C.  <a href="classIRElectraAc.html#a911b7410fd2f29464c1505e183c04c5d">More...</a><br /></td></tr>
<tr class="separator:a911b7410fd2f29464c1505e183c04c5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a473a794960bc07837e407830a3ea528b"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a473a794960bc07837e407830a3ea528b">getMode</a> (void)</td></tr>
<tr class="memdesc:a473a794960bc07837e407830a3ea528b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the operating mode setting of the A/C.  <a href="classIRElectraAc.html#a473a794960bc07837e407830a3ea528b">More...</a><br /></td></tr>
<tr class="separator:a473a794960bc07837e407830a3ea528b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f986d9a376b6d5348fcb021d66d235b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a5f986d9a376b6d5348fcb021d66d235b">setTemp</a> (const uint8_t temp)</td></tr>
<tr class="memdesc:a5f986d9a376b6d5348fcb021d66d235b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the temperature.  <a href="classIRElectraAc.html#a5f986d9a376b6d5348fcb021d66d235b">More...</a><br /></td></tr>
<tr class="separator:a5f986d9a376b6d5348fcb021d66d235b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae92bd241a14058ece0e6d27332f9a3fa"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#ae92bd241a14058ece0e6d27332f9a3fa">getTemp</a> (void)</td></tr>
<tr class="memdesc:ae92bd241a14058ece0e6d27332f9a3fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current temperature setting.  <a href="classIRElectraAc.html#ae92bd241a14058ece0e6d27332f9a3fa">More...</a><br /></td></tr>
<tr class="separator:ae92bd241a14058ece0e6d27332f9a3fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa338ce18cafaf9c7b9aa3385e681bbe7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#aa338ce18cafaf9c7b9aa3385e681bbe7">setFan</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:aa338ce18cafaf9c7b9aa3385e681bbe7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the speed of the fan.  <a href="classIRElectraAc.html#aa338ce18cafaf9c7b9aa3385e681bbe7">More...</a><br /></td></tr>
<tr class="separator:aa338ce18cafaf9c7b9aa3385e681bbe7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e8b30452671c26777ba2bc556bc8dce"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a6e8b30452671c26777ba2bc556bc8dce">getFan</a> (void)</td></tr>
<tr class="memdesc:a6e8b30452671c26777ba2bc556bc8dce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current fan speed setting.  <a href="classIRElectraAc.html#a6e8b30452671c26777ba2bc556bc8dce">More...</a><br /></td></tr>
<tr class="separator:a6e8b30452671c26777ba2bc556bc8dce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5b33942670e0033cbb9b9c7a1524e93"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#ae5b33942670e0033cbb9b9c7a1524e93">setSwingV</a> (const bool <a class="el" href="classIRElectraAc.html#a99e29f982435b01c726d0234a433cfa6">on</a>)</td></tr>
<tr class="memdesc:ae5b33942670e0033cbb9b9c7a1524e93"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Vertical Swing mode of the A/C.  <a href="classIRElectraAc.html#ae5b33942670e0033cbb9b9c7a1524e93">More...</a><br /></td></tr>
<tr class="separator:ae5b33942670e0033cbb9b9c7a1524e93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cd2a7d7716f855dca6be12e3cdc3d24"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a9cd2a7d7716f855dca6be12e3cdc3d24">getSwingV</a> (void)</td></tr>
<tr class="memdesc:a9cd2a7d7716f855dca6be12e3cdc3d24"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Vertical Swing mode of the A/C.  <a href="classIRElectraAc.html#a9cd2a7d7716f855dca6be12e3cdc3d24">More...</a><br /></td></tr>
<tr class="separator:a9cd2a7d7716f855dca6be12e3cdc3d24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcd40681003d57b4f1b652175fc276a8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#afcd40681003d57b4f1b652175fc276a8">setSwingH</a> (const bool <a class="el" href="classIRElectraAc.html#a99e29f982435b01c726d0234a433cfa6">on</a>)</td></tr>
<tr class="memdesc:afcd40681003d57b4f1b652175fc276a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Horizontal Swing mode of the A/C.  <a href="classIRElectraAc.html#afcd40681003d57b4f1b652175fc276a8">More...</a><br /></td></tr>
<tr class="separator:afcd40681003d57b4f1b652175fc276a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40e8f0ae2e57c3adf756b12524b36e6d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a40e8f0ae2e57c3adf756b12524b36e6d">getSwingH</a> (void)</td></tr>
<tr class="memdesc:a40e8f0ae2e57c3adf756b12524b36e6d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Horizontal Swing mode of the A/C.  <a href="classIRElectraAc.html#a40e8f0ae2e57c3adf756b12524b36e6d">More...</a><br /></td></tr>
<tr class="separator:a40e8f0ae2e57c3adf756b12524b36e6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4aa44fc40196067469dfa8a722e33115"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a4aa44fc40196067469dfa8a722e33115">setClean</a> (const bool <a class="el" href="classIRElectraAc.html#a99e29f982435b01c726d0234a433cfa6">on</a>)</td></tr>
<tr class="memdesc:a4aa44fc40196067469dfa8a722e33115"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Clean mode of the A/C.  <a href="classIRElectraAc.html#a4aa44fc40196067469dfa8a722e33115">More...</a><br /></td></tr>
<tr class="separator:a4aa44fc40196067469dfa8a722e33115"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa06b1246aaa3f25b239b50e395258b7a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#aa06b1246aaa3f25b239b50e395258b7a">getClean</a> (void)</td></tr>
<tr class="memdesc:aa06b1246aaa3f25b239b50e395258b7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Clean mode of the A/C.  <a href="classIRElectraAc.html#aa06b1246aaa3f25b239b50e395258b7a">More...</a><br /></td></tr>
<tr class="separator:aa06b1246aaa3f25b239b50e395258b7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15373982641e36f4b68258368700be7d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a15373982641e36f4b68258368700be7d">setLightToggle</a> (const bool <a class="el" href="classIRElectraAc.html#a99e29f982435b01c726d0234a433cfa6">on</a>)</td></tr>
<tr class="memdesc:a15373982641e36f4b68258368700be7d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Light (LED) Toggle mode of the A/C.  <a href="classIRElectraAc.html#a15373982641e36f4b68258368700be7d">More...</a><br /></td></tr>
<tr class="separator:a15373982641e36f4b68258368700be7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63bc44235b18e11531479dc2f633f94b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a63bc44235b18e11531479dc2f633f94b">getLightToggle</a> (void)</td></tr>
<tr class="memdesc:a63bc44235b18e11531479dc2f633f94b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Light (LED) Toggle mode of the A/C.  <a href="classIRElectraAc.html#a63bc44235b18e11531479dc2f633f94b">More...</a><br /></td></tr>
<tr class="separator:a63bc44235b18e11531479dc2f633f94b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb40e95465788b03e4cb845bd481f7ed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#adb40e95465788b03e4cb845bd481f7ed">setTurbo</a> (const bool <a class="el" href="classIRElectraAc.html#a99e29f982435b01c726d0234a433cfa6">on</a>)</td></tr>
<tr class="memdesc:adb40e95465788b03e4cb845bd481f7ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Turbo mode of the A/C.  <a href="classIRElectraAc.html#adb40e95465788b03e4cb845bd481f7ed">More...</a><br /></td></tr>
<tr class="separator:adb40e95465788b03e4cb845bd481f7ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75cae6845498eec84109374a2fefcced"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a75cae6845498eec84109374a2fefcced">getTurbo</a> (void)</td></tr>
<tr class="memdesc:a75cae6845498eec84109374a2fefcced"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Turbo mode of the A/C.  <a href="classIRElectraAc.html#a75cae6845498eec84109374a2fefcced">More...</a><br /></td></tr>
<tr class="separator:a75cae6845498eec84109374a2fefcced"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7674d29474ecbbb6366d96056794314c"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a7674d29474ecbbb6366d96056794314c">getRaw</a> (void)</td></tr>
<tr class="memdesc:a7674d29474ecbbb6366d96056794314c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a PTR to the internal state/code for this protocol.  <a href="classIRElectraAc.html#a7674d29474ecbbb6366d96056794314c">More...</a><br /></td></tr>
<tr class="separator:a7674d29474ecbbb6366d96056794314c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae57c51cd3f5d1ebfb2fe7b926d149dd6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#ae57c51cd3f5d1ebfb2fe7b926d149dd6">setRaw</a> (const uint8_t new_code[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a8fb8c5778feaa94114218c36e8e43641">kElectraAcStateLength</a>)</td></tr>
<tr class="memdesc:ae57c51cd3f5d1ebfb2fe7b926d149dd6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state from a valid code for this protocol.  <a href="classIRElectraAc.html#ae57c51cd3f5d1ebfb2fe7b926d149dd6">More...</a><br /></td></tr>
<tr class="separator:ae57c51cd3f5d1ebfb2fe7b926d149dd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b1f49b99ec17e211c6cc63d4f72f6a4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a2b1f49b99ec17e211c6cc63d4f72f6a4">toString</a> (void)</td></tr>
<tr class="memdesc:a2b1f49b99ec17e211c6cc63d4f72f6a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into a human readable string.  <a href="classIRElectraAc.html#a2b1f49b99ec17e211c6cc63d4f72f6a4">More...</a><br /></td></tr>
<tr class="separator:a2b1f49b99ec17e211c6cc63d4f72f6a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0026a1981e713ce1f6916203717e0a00"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a0026a1981e713ce1f6916203717e0a00">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
<tr class="memdesc:a0026a1981e713ce1f6916203717e0a00"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode.  <a href="classIRElectraAc.html#a0026a1981e713ce1f6916203717e0a00">More...</a><br /></td></tr>
<tr class="separator:a0026a1981e713ce1f6916203717e0a00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcf3ef62d69e370cb88dd2036e5a1357"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#afcf3ef62d69e370cb88dd2036e5a1357">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed)</td></tr>
<tr class="memdesc:afcf3ef62d69e370cb88dd2036e5a1357"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed.  <a href="classIRElectraAc.html#afcf3ef62d69e370cb88dd2036e5a1357">More...</a><br /></td></tr>
<tr class="separator:afcf3ef62d69e370cb88dd2036e5a1357"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad10aba2fa72f4b839538fc5a99c696ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#ad10aba2fa72f4b839538fc5a99c696ad">toCommon</a> (void)</td></tr>
<tr class="memdesc:ad10aba2fa72f4b839538fc5a99c696ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivilant.  <a href="classIRElectraAc.html#ad10aba2fa72f4b839538fc5a99c696ad">More...</a><br /></td></tr>
<tr class="separator:ad10aba2fa72f4b839538fc5a99c696ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a60034a18e7574844fb59a03e7789f419"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a60034a18e7574844fb59a03e7789f419">validChecksum</a> (const uint8_t state[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a8fb8c5778feaa94114218c36e8e43641">kElectraAcStateLength</a>)</td></tr>
<tr class="memdesc:a60034a18e7574844fb59a03e7789f419"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify the checksum is valid for a given state.  <a href="classIRElectraAc.html#a60034a18e7574844fb59a03e7789f419">More...</a><br /></td></tr>
<tr class="separator:a60034a18e7574844fb59a03e7789f419"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8063d07e41ca2cc0fd27093a2e67bb2"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#aa8063d07e41ca2cc0fd27093a2e67bb2">calcChecksum</a> (const uint8_t state[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a8fb8c5778feaa94114218c36e8e43641">kElectraAcStateLength</a>)</td></tr>
<tr class="memdesc:aa8063d07e41ca2cc0fd27093a2e67bb2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the checksum for a given state.  <a href="classIRElectraAc.html#aa8063d07e41ca2cc0fd27093a2e67bb2">More...</a><br /></td></tr>
<tr class="separator:aa8063d07e41ca2cc0fd27093a2e67bb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01bd399c3b8908083b95f31d97ddb26f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a01bd399c3b8908083b95f31d97ddb26f">toCommonMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a01bd399c3b8908083b95f31d97ddb26f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivilant.  <a href="classIRElectraAc.html#a01bd399c3b8908083b95f31d97ddb26f">More...</a><br /></td></tr>
<tr class="separator:a01bd399c3b8908083b95f31d97ddb26f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d53fb85582344cfdbfa33da6acbdb7d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a5d53fb85582344cfdbfa33da6acbdb7d">toCommonFanSpeed</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:a5d53fb85582344cfdbfa33da6acbdb7d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivilant.  <a href="classIRElectraAc.html#a5d53fb85582344cfdbfa33da6acbdb7d">More...</a><br /></td></tr>
<tr class="separator:a5d53fb85582344cfdbfa33da6acbdb7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a73dc5b9a038669cc1f00f5b64ad458d1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a73dc5b9a038669cc1f00f5b64ad458d1">checksum</a> (const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a8fb8c5778feaa94114218c36e8e43641">kElectraAcStateLength</a>)</td></tr>
<tr class="memdesc:a73dc5b9a038669cc1f00f5b64ad458d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate and set the checksum values for the internal state.  <a href="classIRElectraAc.html#a73dc5b9a038669cc1f00f5b64ad458d1">More...</a><br /></td></tr>
<tr class="separator:a73dc5b9a038669cc1f00f5b64ad458d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:af8732b31f2a4421226220dd8a4a4f985"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classIRsend.html">IRsend</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#af8732b31f2a4421226220dd8a4a4f985">_irsend</a></td></tr>
<tr class="memdesc:af8732b31f2a4421226220dd8a4a4f985"><td class="mdescLeft">&#160;</td><td class="mdescRight">instance of the IR send class  <a href="classIRElectraAc.html#af8732b31f2a4421226220dd8a4a4f985">More...</a><br /></td></tr>
<tr class="separator:af8732b31f2a4421226220dd8a4a4f985"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f423f5d896e4bfc2f3a0ce04b596289"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRElectraAc.html#a3f423f5d896e4bfc2f3a0ce04b596289">remote_state</a> [<a class="el" href="IRremoteESP8266_8h.html#a8fb8c5778feaa94114218c36e8e43641">kElectraAcStateLength</a>]</td></tr>
<tr class="memdesc:a3f423f5d896e4bfc2f3a0ce04b596289"><td class="mdescLeft">&#160;</td><td class="mdescRight">The state of the IR remote.  <a href="classIRElectraAc.html#a3f423f5d896e4bfc2f3a0ce04b596289">More...</a><br /></td></tr>
<tr class="separator:a3f423f5d896e4bfc2f3a0ce04b596289"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class for handling detailed Electra A/C messages. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a2f56ad22943c3d261b1d2ef88d86e300"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f56ad22943c3d261b1d2ef88d86e300">&#9670;&nbsp;</a></span>IRElectraAc()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">IRElectraAc::IRElectraAc </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>pin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>inverted</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>use_modulation</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Class constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pin</td><td>GPIO to be used when sending. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">inverted</td><td>Is the output signal to be inverted? </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">use_modulation</td><td>Is frequency modulation to be used? </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="afff519ff9e81ec4aa03ff337f8efef13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afff519ff9e81ec4aa03ff337f8efef13">&#9670;&nbsp;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRElectraAc::begin </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set up hardware to be able to send a message. </p>

</div>
</div>
<a id="aa8063d07e41ca2cc0fd27093a2e67bb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa8063d07e41ca2cc0fd27093a2e67bb2">&#9670;&nbsp;</a></span>calcChecksum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRElectraAc::calcChecksum </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>state</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a8fb8c5778feaa94114218c36e8e43641">kElectraAcStateLength</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate the checksum for a given state. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>The value to calc the checksum of. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The length of the state array. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The calculated checksum stored in a uint_8. </dd></dl>

</div>
</div>
<a id="af333e90117ab035ff92389d4eefb3649"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af333e90117ab035ff92389d4eefb3649">&#9670;&nbsp;</a></span>calibrate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int8_t IRElectraAc::calibrate </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Run the calibration to calculate uSec timing offsets for this platform. </p>
<dl class="section return"><dt>Returns</dt><dd>The uSec timing offset needed per modulation of the IR Led. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>This will produce a 65ms IR signal pulse at 38kHz. Only ever needs to be run once per object instantiation, if at all. </dd></dl>

</div>
</div>
<a id="a73dc5b9a038669cc1f00f5b64ad458d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73dc5b9a038669cc1f00f5b64ad458d1">&#9670;&nbsp;</a></span>checksum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void IRElectraAc::checksum </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a8fb8c5778feaa94114218c36e8e43641">kElectraAcStateLength</a></code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate and set the checksum values for the internal state. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The length of the state array. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afcf3ef62d69e370cb88dd2036e5a1357"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afcf3ef62d69e370cb88dd2036e5a1357">&#9670;&nbsp;</a></span>convertFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRElectraAc::convertFan </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivilant of the enum. </dd></dl>

</div>
</div>
<a id="a0026a1981e713ce1f6916203717e0a00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0026a1981e713ce1f6916203717e0a00">&#9670;&nbsp;</a></span>convertMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRElectraAc::convertMode </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivilant of the enum. </dd></dl>

</div>
</div>
<a id="aa06b1246aaa3f25b239b50e395258b7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa06b1246aaa3f25b239b50e395258b7a">&#9670;&nbsp;</a></span>getClean()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRElectraAc::getClean </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Clean mode of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a6e8b30452671c26777ba2bc556bc8dce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e8b30452671c26777ba2bc556bc8dce">&#9670;&nbsp;</a></span>getFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRElectraAc::getFan </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current fan speed setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current fan speed. </dd></dl>

</div>
</div>
<a id="a63bc44235b18e11531479dc2f633f94b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63bc44235b18e11531479dc2f633f94b">&#9670;&nbsp;</a></span>getLightToggle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRElectraAc::getLightToggle </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Light (LED) Toggle mode of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a473a794960bc07837e407830a3ea528b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a473a794960bc07837e407830a3ea528b">&#9670;&nbsp;</a></span>getMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRElectraAc::getMode </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the operating mode setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The current operating mode setting. </dd></dl>

</div>
</div>
<a id="aed11407cd8be470baf5d4667e28e1273"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed11407cd8be470baf5d4667e28e1273">&#9670;&nbsp;</a></span>getPower()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRElectraAc::getPower </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the value of the current power setting. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a7674d29474ecbbb6366d96056794314c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7674d29474ecbbb6366d96056794314c">&#9670;&nbsp;</a></span>getRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t * IRElectraAc::getRaw </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a PTR to the internal state/code for this protocol. </p>
<dl class="section return"><dt>Returns</dt><dd>PTR to a code for this protocol based on the current internal state. </dd></dl>

</div>
</div>
<a id="a40e8f0ae2e57c3adf756b12524b36e6d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40e8f0ae2e57c3adf756b12524b36e6d">&#9670;&nbsp;</a></span>getSwingH()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRElectraAc::getSwingH </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Horizontal Swing mode of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a9cd2a7d7716f855dca6be12e3cdc3d24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9cd2a7d7716f855dca6be12e3cdc3d24">&#9670;&nbsp;</a></span>getSwingV()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRElectraAc::getSwingV </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Vertical Swing mode of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="ae92bd241a14058ece0e6d27332f9a3fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae92bd241a14058ece0e6d27332f9a3fa">&#9670;&nbsp;</a></span>getTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRElectraAc::getTemp </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current temperature setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current setting for temp. in degrees celsius. </dd></dl>

</div>
</div>
<a id="a75cae6845498eec84109374a2fefcced"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75cae6845498eec84109374a2fefcced">&#9670;&nbsp;</a></span>getTurbo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRElectraAc::getTurbo </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Turbo mode of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="afe3a9b789eafbef19d015cdebf71dc0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe3a9b789eafbef19d015cdebf71dc0d">&#9670;&nbsp;</a></span>off()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRElectraAc::off </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the power setting to Off. </p>

</div>
</div>
<a id="a99e29f982435b01c726d0234a433cfa6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99e29f982435b01c726d0234a433cfa6">&#9670;&nbsp;</a></span>on()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRElectraAc::on </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the power setting to On. </p>

</div>
</div>
<a id="a30170a65de1161e26daeddf694f8afdb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30170a65de1161e26daeddf694f8afdb">&#9670;&nbsp;</a></span>send()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRElectraAc::send </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>repeat</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a2ca237d578ca9a59aecac9813ab851ba">kElectraAcMinRepeat</a></code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Send the current internal state as an IR message. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">repeat</td><td>Nr. of times the message will be repeated. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4aa44fc40196067469dfa8a722e33115"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4aa44fc40196067469dfa8a722e33115">&#9670;&nbsp;</a></span>setClean()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRElectraAc::setClean </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Clean mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa338ce18cafaf9c7b9aa3385e681bbe7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa338ce18cafaf9c7b9aa3385e681bbe7">&#9670;&nbsp;</a></span>setFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRElectraAc::setFan </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the speed of the fan. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The desired setting. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>0 is auto, 1-3 is the speed </dd></dl>

</div>
</div>
<a id="a15373982641e36f4b68258368700be7d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15373982641e36f4b68258368700be7d">&#9670;&nbsp;</a></span>setLightToggle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRElectraAc::setLightToggle </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Light (LED) Toggle mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a911b7410fd2f29464c1505e183c04c5d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a911b7410fd2f29464c1505e183c04c5d">&#9670;&nbsp;</a></span>setMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRElectraAc::setMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the operating mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The desired operating mode. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="abd04ffe9a77a97d4fafbcecd3a7949a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd04ffe9a77a97d4fafbcecd3a7949a4">&#9670;&nbsp;</a></span>setPower()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRElectraAc::setPower </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Change the power setting. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae57c51cd3f5d1ebfb2fe7b926d149dd6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae57c51cd3f5d1ebfb2fe7b926d149dd6">&#9670;&nbsp;</a></span>setRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRElectraAc::setRaw </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>new_code</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a8fb8c5778feaa94114218c36e8e43641">kElectraAcStateLength</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the internal state from a valid code for this protocol. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">new_code</td><td>A valid code for this protocol. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The length of the code array. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afcd40681003d57b4f1b652175fc276a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afcd40681003d57b4f1b652175fc276a8">&#9670;&nbsp;</a></span>setSwingH()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRElectraAc::setSwingH </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Horizontal Swing mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ae5b33942670e0033cbb9b9c7a1524e93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5b33942670e0033cbb9b9c7a1524e93">&#9670;&nbsp;</a></span>setSwingV()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRElectraAc::setSwingV </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Vertical Swing mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a5f986d9a376b6d5348fcb021d66d235b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f986d9a376b6d5348fcb021d66d235b">&#9670;&nbsp;</a></span>setTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRElectraAc::setTemp </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>temp</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the temperature. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">temp</td><td>The temperature in degrees celsius. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="adb40e95465788b03e4cb845bd481f7ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb40e95465788b03e4cb845bd481f7ed">&#9670;&nbsp;</a></span>setTurbo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRElectraAc::setTurbo </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Turbo mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab8035c14158fcf3758f46f6976b814f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8035c14158fcf3758f46f6976b814f7">&#9670;&nbsp;</a></span>stateReset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRElectraAc::stateReset </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reset the internal state to a fixed known good state. </p>

</div>
</div>
<a id="ad10aba2fa72f4b839538fc5a99c696ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad10aba2fa72f4b839538fc5a99c696ad">&#9670;&nbsp;</a></span>toCommon()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> IRElectraAc::toCommon </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivilant. </p>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivilant of the native settings. </dd></dl>

</div>
</div>
<a id="a5d53fb85582344cfdbfa33da6acbdb7d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d53fb85582344cfdbfa33da6acbdb7d">&#9670;&nbsp;</a></span>toCommonFanSpeed()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> IRElectraAc::toCommonFanSpeed </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivilant. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The native setting to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivilant of the native setting. </dd></dl>

</div>
</div>
<a id="a01bd399c3b8908083b95f31d97ddb26f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01bd399c3b8908083b95f31d97ddb26f">&#9670;&nbsp;</a></span>toCommonMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> IRElectraAc::toCommonMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivilant. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The native setting to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivilant of the native setting. </dd></dl>

</div>
</div>
<a id="a2b1f49b99ec17e211c6cc63d4f72f6a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b1f49b99ec17e211c6cc63d4f72f6a4">&#9670;&nbsp;</a></span>toString()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a> IRElectraAc::toString </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert the current internal state into a human readable string. </p>
<dl class="section return"><dt>Returns</dt><dd>A human readable string. </dd></dl>

</div>
</div>
<a id="a60034a18e7574844fb59a03e7789f419"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60034a18e7574844fb59a03e7789f419">&#9670;&nbsp;</a></span>validChecksum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool IRElectraAc::validChecksum </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>state</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a8fb8c5778feaa94114218c36e8e43641">kElectraAcStateLength</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Verify the checksum is valid for a given state. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>The state to verify the checksum of. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The length of the state array. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true, if the state has a valid checksum. Otherwise, false. </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="af8732b31f2a4421226220dd8a4a4f985"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8732b31f2a4421226220dd8a4a4f985">&#9670;&nbsp;</a></span>_irsend</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classIRsend.html">IRsend</a> IRElectraAc::_irsend</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>instance of the IR send class </p>

</div>
</div>
<a id="a3f423f5d896e4bfc2f3a0ce04b596289"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f423f5d896e4bfc2f3a0ce04b596289">&#9670;&nbsp;</a></span>remote_state</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRElectraAc::remote_state[<a class="el" href="IRremoteESP8266_8h.html#a8fb8c5778feaa94114218c36e8e43641">kElectraAcStateLength</a>]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The state of the IR remote. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="ir__Electra_8h_source.html">ir_Electra.h</a></li>
<li>src/<a class="el" href="ir__Electra_8cpp.html">ir_Electra.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
